<?php
namespace app\model\user;

use think\Model;

class ZxlKnowStoreMemberLevelCardModel extends Model
{
    protected $name = 'zxl_know_store_member_level_card';

    /**
     * 关联查询会员卡信息
     */
    public function level(){
        return $this->hasOne(ZxlKnowStoreMemberLevelModel::class, "id", "level_id");
    }
}